package com.ruoyi.hl.service;

import com.ruoyi.hl.reqbean.AddBanZuZhangBean;
import com.ruoyi.hl.reqbean.SHouHuanMyOutBloodBean;
import com.ruoyi.hl.reqbean.ShouHuanAddChuanYun;
import com.ruoyi.hl.reqbean.ShouHuanUserBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 参数配置 服务层
 * 
 * @author ruoyi
 */
public interface ShouHuanService
{
    /**
     * 新增
     */
     public int addUserInfo(ShouHuanUserBean shouHuanUserBean);


    /**
     * 删除
     */
    public int deleteUserInfo(Long[] userIds);


    /**
     * 修改
     */
    public int updateUserInfo(ShouHuanUserBean shouHuanUserBean);


    /**
     * 查询
     */
    public List<ShouHuanUserBean> selectUserInfo(ShouHuanUserBean shouHuanUserBean);

    /**
     * 查询用户手机号
     */
    public List<String> selectEquipmentByName(String userName);

    /**
     * 接受兔盯云血压数据
     */
    public int setBloodDataFromOut(SHouHuanMyOutBloodBean myOutBloodBean);

    public int setHeartDataFromOut(SHouHuanMyOutBloodBean myOutBloodBean);

    public int setTemperatureDataFromOut(SHouHuanMyOutBloodBean myOutBloodBean);


    public List<ShouHuanAddChuanYun> selectBloodDetail();
    public List<ShouHuanAddChuanYun> selectHeartDetail();
    public List<ShouHuanAddChuanYun> selectTemperatureDetail();


    //-------------------------班组长增删改查--------------------------------

    /**
     * 新增
     */
    public int addBanZuInfo(AddBanZuZhangBean bean);

    /**
     * 修改
     */
    public int updateBanZuInfo(AddBanZuZhangBean bean);


    /**
     * 删除
     */
    public int deleteBanZuInfo(String configId);


    /**
     * 查询列表
     */
    public List<AddBanZuZhangBean> selectBanZuInfo(AddBanZuZhangBean bean);

    /**
     * 查询详情
     */
    public AddBanZuZhangBean selectBanZuDetail(String id);
}
